<!-- 富文本编辑器 -->
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/Admin/js/ajaxfileupload.js"></script>
<style type="text/css">
  .w240{width: 240px;}
  .sml-240{padding-left: 240px;}
</style>

<div id="content" class="">
        <div class="row">
          <div class="col-md-12">
            <!-- Input Fields -->
            <div class="panel">
              <div class="panel-heading">
            
                <span class="panel-title">{$paneltitle}</span>
              </div>
              <div class="admin-form theme-primary mw1000 center-block" style="padding-bottom: 175px; margin-top:30px;">
              <div class="panel heading-border panel-primary">
                <form method="post" action="{:U('Home/doset')}"  >
                  <div class="panel-body bg-light">
                    <div class="section-divider mt20 mb40"><span> 信息项 </span></div>
                    <!-- .section-divider --> 
                  
                    <input type="hidden" name="type" value="{$type}"></input>
                      
            <php>foreach($data as $k => $v){</php>                

                  <div class="section ">
                    <h3>No.{$v['id']}</h3>
                    <div class= "row">
                    <div class="col-md-5">
                    <div class="section">
                      <div class="smart-widget sm-left sml-120">
                        <label class="field prepend-icon ">
                          <input type="text" name="title[]" id="title{$v['id']}" class="gui-input" placeholder="标题" value="{$v['title']}">
                        </label>
                        <label  class="button btn-primary w240" >标题：</label>
                      </div>
                    </div>
                      </div> 

                    <div class="col-md-7">
                      <div class="section">
                        <div class="smart-widget sm-left sml-120">
                          <label class="field prepend-icon ">
                            <input type="text" name="intro[]" id="title{$v['id']}" class="gui-input" placeholder="内容" value="{$v['intro']}">
                          </label>
                          <label  class="button btn-primary w240" >内容：</label>
                        </div>
                      </div> 
                      </div> 
                      </div>
                    </div>
              <php>}</php>
                   
          


                    
                </div>
                   
                  <div class="panel-footer text-right">
                    <button type="submit" class="button btn-primary">提交</button>
                    <button type="reset" class="button btn-primary">清空</button>
                  </div>
                  <!-- end .form-footer section -->
                </form>

              </div>

            </div>
            </div>
          </div>
        </div>
</div>


<script type="text/javascript">
  function getinputclick(id){
      var dom = $("#"+id);
      dom.click();
  }
</script>